<div class="draw">
    {{#each $Cache.draw.list}}
    {{#if (state===$Top.config.LOTTERY_STATE.进行中&&endTime>$Top.$Cache.now)||(state===$Top.config.LOTTERY_STATE.未开始&&$Top.$Cache.now>startTime) }}
    <a href="#default/draw-item?id={{_id}}">
        <div class="item">
            <img src="/images/10.png" />
            <div class="draw-title">
                活动：{{title}}
            </div>
            <div class="draw-info">
                <p>奖品：</p>
                {{#each awards}}
                <div class="info-item">
                    {{title}}：{{content.info.intro}}
                </div>
                {{/each}}
            </div>
        </div>
    </a>
    {{#else}}
		<div class="item">
		    <img src="/images/10.png" />
		    <div class="draw-title">
		        活动：{{title}}
		    </div>
		    <div class="draw-info">
		        <p>奖品：</p>
		        {{#each awards}}
		        <div class="info-item">
		            {{title}}：{{content.info.intro}}
		        </div>
		        {{/each}}
		    </div>
		</div>
    {{/if}}
    {{/each}}
</div>
